package com.p2p.front.component;

import java.util.Map;

import javax.annotation.PostConstruct;

import org.springframework.stereotype.Component;

import com.p2p.base.util.ChangeNotifyUtil;
import com.p2p.front.dal.model.SysConfig;
import com.p2p.front.service.SysConfigService;


public interface MemberSetting {

	void initMemberSetting();
	/**
	 * 获取所有等级对应的名字，如 1：铜牌会员
	 * @return
	 */
	@Deprecated
	public Map<Integer,String> getMemberLevelNameMap();
	
	/**
	 * 根据level获取对应的名字
	 * @param level
	 * @return
	 */
	public String getMemberLevelName(int level);
	
	/**
	 * 根据level获取对应的积分要求
	 * @param level
	 * @return
	 */
	public Integer getMemberLevelPoint(int level);
	
	public Double getMemberLevelChargeRate(int level);
}
